import os

from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^', include('gameCore.urls')),

    # Uncomment the next line to enable the admin:
    #(r'^admin/', include(admin.site.root)),
)

if settings.DEBUG:
    urlpatterns += patterns('',
        (r'^static/(?P<path>.*)$', 'django.views.static.serve',
         {'document_root': os.path.join(settings.ROOT,'static'),
          'show_indexes': True}),
    )

